.tw-libtagfilter {
  .tw-libbirtreport {
    width: 32rem;
    margin: 20px auto;
  }
}

.tw-tagfilter.xopen {
  height: auto;
}

.tw-tagfilter-tags {
  flex: 1;
  padding-right: 30px;
  font-size: 0;
}

// -------------------- 筛选面板 --------------------
// 筛选面板: 容器
.tw-filterpane {
  padding: 15px;
  border-radius: 3px;
  border-radius: 10px;
}

// 筛选面板: 容器边框

// 筛选面板: 容器有背景色

// 筛选面板: 筛选组边框线

.tw-filterpane > .tw-tagfilter:last-child {
  border-bottom: none;
}

// 筛选面板: 工具栏
.tw-filterpane-toolbar {
  padding: 25px 0 10px 0;
  text-align: center;
}
.tw-btn {
  display: inline-block;
  min-width: 82px;
  height: 30px;
  line-height: 28px;
  padding: 0 12px;
  font-size: 14px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 3px;
}
.tw-btn + .tw-btn {
  margin-left: 11px;
}

.tw-libcard {
  width: 100%;
  padding: 15px 25px;
  background: #fff;
  box-shadow: 0 1px 5px #ddd;
  margin-top: 20px;
}

.tw-libcard.xfull {
  margin: 0 -15px;
}

.tw-libcard + .tw-libcard {
  margin-top: 10px;
}

// card 无间距
.tw-libcard.xnopd {
  padding: 0;
}

// card 圆角
.tw-libcard.xradius {
  border-radius: 10px;
}

.tw-libtitle {
  position: relative;
  line-height: 1.5;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
}

.tw-libtitle:after {
  content: ' ';
  display: block;
  clear: both;
}

.tw-libtitle.xnoborder {
  border-bottom: none;
}

.tw-libtitle:before {
  content: '';
  position: absolute;
  left: -25px;
  width: 3px;
  height: 27px;
  background: #0979f4;
}

.tw-libtitle-left {
  float: left;
  font-weight: 500;
}

.tw-libtitle-left > .tw-font,
.tw-libtitle-left > .tw-ico {
  margin-right: 5px;
}

.tw-libtitle-note {
  margin-left: 5px;
  font-size: 85%;
  color: #666;
}

.tw-libtitle-right {
  float: right;
  font-size: 16px;
  font-weight: 400;
  color: #0979f4;
}

.tw-libtitle.xsub {
  padding-bottom: 0;
  margin-bottom: 10px;
  font-size: 16px;
  border-bottom: none;
}

.tw-libtitle.xsub:before {
  top: 12px;
  left: -7.5px;
  width: 4px;
  height: 4px;
}

.tw-libtitle.xnomark:before {
  display: none;
}

.tw-libtitle.xico > .tw-font,
.tw-libtitle.xico > .tw-ico {
  position: absolute;
  top: 0;
  bottom: 26.3157894737%;
  left: 0;
  margin: auto 0 auto -26px;
}

.tw-libbtn {
  display: inline-block;
  min-width: 82px;
  height: 30px;
  line-height: 28px;
  padding: 0 12px;
  font-size: 14px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 3px;
}

.tw-libbtn.xmain {
  color: #fff;
  background: #0979f4;
  border-color: #0979f4;
}

.tw-libbtn.xmain:hover {
  background: #016add;
  border-color: #016add;
}
// 预览的样式
.tw-libbirt-report {
  font-size: 14px;
  margin-top: 15px;
  word-wrap: break-word;
  word-break: break-all;
  overflow: auto;
}
.tw-libbirt-report table {
  overflow: auto !important;
  width: 99% !important;
  margin: 0 auto;
}

div[class^='style'] {
  font-family: 'Microsoft YaHei' !important;
}

.tw-libbirt-report table div {
  font-family: 'Microsoft YaHei';
}

.tw-libbirt-report .style_0 > table:first-of-type {
  margin: 0 auto;
}
// .tw-libbirt-report table {
//   margin: 5px 0;
//   font-weight: 500;
//   vertical-align: middle;
//   overflow: auto !important;
//   width: 100% !important;
// }
// .tw-libbirt-report table table:nth-child(2) {
//   margin: -6px 0 -1px 0;
// }
// .tw-libbirt-report table + table {
//   margin: -1px 0 -1px 0;
// }
// .tw-libbirt-report div > table div > table {
//   margin: 0;
// }
// .tw-libbirt-report div > table div + div table {
//   margin: -1px 0 -1px 0;
// }
.tw-libbirt-report table table tr {
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}
.tw-libbirt-report table table th {
  padding: 0 5px;
  height: 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}
.tw-libbirt-report table table td {
  padding: 0 5px;
  height: 24px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  padding: 8px 5px;
}
// 生产环境的样式
::v-deep .tw-libbirt-report {
  font-size: 14px;
  margin-top: 15px;
  word-wrap: break-word;
  word-break: break-all;
  overflow: auto;
}
::v-deep .tw-libbirt-report table {
  margin: 5px 0;
  font-weight: 500;
  vertical-align: middle;
  overflow: auto !important;
  width: 100% !important;
}
::v-deep .tw-libbirt-report table table:nth-child(2) {
  margin: -6px 0 -1px 0;
}
::v-deep .tw-libbirt-report table + table {
  margin: -1px 0 -1px 0;
}
::v-deep .tw-libbirt-report div > table div > table {
  margin: 0;
}
::v-deep .tw-libbirt-report div > table div + div table {
  margin: -1px 0 -1px 0;
}
::v-deep .tw-libbirt-report table table tr {
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
}
::v-deep .tw-libbirt-report table table th {
  padding: 0 5px;
  height: 24px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  > div {
    font-weight: 500;
  }
}
::v-deep .tw-libbirt-report table table td {
  padding: 0 5px;
  height: 24px;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  > div {
    font-weight: 500;
  }
}

// ---------- 无数据 ----------
.tw-libnodata {
  position: relative;
  padding: 40px 0;
  text-align: center;
  background-color: #fff;
  margin-top: 20px;
  border-radius: 10px;
}

.tw-libnodata > img {
  width: 120px;
  height: 120px;
  margin-top: 50px;
}

.tw-libnodata > div {
  padding-bottom: 50px;
  margin-top: 0;
  font-size: 18px;
  color: #999;
}

.tw-btn.xweaking {
  border-color: #c0d8f1 !important;
}

.tw-ico.xtftoggle {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('./images/xtftoggle.png') center no-repeat;
}
.tw-ico.xtftoggle:hover {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('./images/xtftogglehover.png') center no-repeat;
}
.tw-ico.xtftoggle.xopen {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('./images/xtftogglexopen.png') center no-repeat;
}
.tw-ico.xtftoggle.xopen:hover {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url('./images/xtftogglexopenhover.png') center no-repeat;
}

.dialog-class .el-input {
  width: 30%;
  height: 0.8rem;
  margin-right: 10px;
}
.dialog-class .el-input__inner {
  height: 100%;
}
.el-dialog__footer {
  text-align: center !important;
}
